package han.entity;

import java.sql.Timestamp;

/**
 * @author: Han
 * @date: 2018/7/12 11:05
 * @dscription: 投资机构id
 */
public class InvestCompanyIdEntity {
    private int id;
    private String companyId;
    private int times;
    private Timestamp lastRequestTime;
    private int deleteFlag;

    public InvestCompanyIdEntity(){}

    public InvestCompanyIdEntity(int id, String companyId, int times, Timestamp lastRequestTime, int deleteFlag) {
        this.id = id;
        this.companyId = companyId;
        this.times = times;
        this.lastRequestTime = lastRequestTime;
        this.deleteFlag = deleteFlag;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Timestamp getLastRequestTime() {
        return lastRequestTime;
    }

    public void setLastRequestTime(Timestamp lastRequestTime) {
        this.lastRequestTime = lastRequestTime;
    }

    @Override
    public String toString() {
        return "FinanceProjectIdEntity=<id," + id + "><36krId," + companyId +
                "><times," + times + "><lastRequestTime," + lastRequestTime + ">";
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    public int getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(int deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
}
